package com.nami.gchat.domain.repository;

import com.nami.gchat.domain.model.co.GrpMemberModel;

import java.util.List;

public interface GrpMemberRepository {
    List<GrpMemberModel> getGrpMembers(String grpId);
    GrpMemberModel getGrpMember(String grpId, String userId);
    List<GrpMemberModel> getGrpMembersFromCacheOrDB(String grpId);
    GrpMemberModel getGrpMemberFromCacheOrDB(String grpId, String userId);
}
